<%@ page language="java" import="java.util.*" pageEncoding="EUC-KR"%>
<jsp:directive.page import="java.net.URL"/>
<jsp:directive.page import="uit.server.model.Model"/>
<%
	URL url = (URL) request.getAttribute("imagePath");
	Model model = (Model) request.getAttribute("model");
%>
    <img src="<%=url%>" id="mapImg" border="1" width="<%=model.getWindowWidth()%>"  height="<%=model.getWindowHeight()%>" >
    <form name="mapFrm" id="mapFrm"  action="getMap.do" method="post" onsubmit="return fasle;">
    	<input type="hidden" name="maxX" id="maxX" value="<%=model.getEnvelope().getMaxX() %>" />
    	<input type="hidden" name="maxY" id="maxY" value="<%=model.getEnvelope().getMaxY() %>" />
    	<input type="hidden" name="minX" id="minX" value="<%=model.getEnvelope().getMinX() %>" />
    	<input type="hidden" name="minY" id="minY" value="<%=model.getEnvelope().getMinY() %>" />
    	<input type="hidden" name="scale" id="scale" value="<%=model.getScale() %>" />
    	<input type="hidden" name="newScale" id="newScale" value="" />
    	<input type="hidden" name="scaleLevel" id="scaleLevel" value="" />    	
    	<input type="hidden" name="mode" id="mode" value="6"/>
    </form>
